import request from '@/utils/request'

// 查询水量分析报列表
export function listDispatchAmountWater(query) {
  return request({
    url: '/dispatch/system/dispatchAmountWater/list',
    method: 'get',
    params: query
  })
}

// 查询水量分析报详细
export function getDispatchAmountWater(amountWaterId) {
  return request({
    url: '/dispatch/system/dispatchAmountWater/' + amountWaterId,
    method: 'get'
  })
}

// 新增水量分析报
export function addDispatchAmountWater(data) {
  return request({
    url: '/dispatch/system/dispatchAmountWater',
    method: 'post',
    data: data
  })
}

// 修改水量分析报
export function updateDispatchAmountWater(data) {
  return request({
    url: '/dispatch/system/dispatchAmountWater',
    method: 'put',
    data: data
  })
}

// 删除水量分析报
export function delDispatchAmountWater(amountWaterId) {
  return request({
    url: '/dispatch/system/dispatchAmountWater/' + amountWaterId,
    method: 'delete'
  })
}
